package com.ctshk.rpc.user.entity.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *  商品详情
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 21:18
 */
@Data
@ApiModel(value="商品详情ES缓存实体")
@Accessors(chain = true)
public class CommodityOrderDetailEs implements Serializable {

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品图片url")
    private String commodityPictureUrl;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "(规格)成本属性表组合名称:组合：规格名称1+属性值1+规格名称2+属性值2")
    private String commodityCostAttributeName;
}
